#import "BlossomMarbleView.h"


@implementation BlossomMarbleView



- (void)setPioneer:(BlossomMarbleModel *)pioneer {
	_pioneer = pioneer;


}
- (UILabel *)curiousZenithLabel {
	if (!_curiousZenithLabel) {
	
        _curiousZenithLabel = [[UILabel alloc] init];
        _curiousZenithLabel.text = @"label_2";
        _curiousZenithLabel.font = [UIFont systemFontOfSize:13 weight:UIFontWeightRegular];
        _curiousZenithLabel.textColor = [UIColor colorWithRed:42/255.0 green:246/255.0 blue:116/255.0 alpha:0.8];
        _curiousZenithLabel.textAlignment = NSTextAlignmentLeft;
        _curiousZenithLabel.numberOfLines = 0;
	}
	return _curiousZenithLabel;
}

//: spiralLiberty 的点击事件
- (void)action_3 {}

//: _xylophoneBtn 的点击事件
- (void)action_5 {}

- (UIButton *)xylophoneBtn {
	if (!_xylophoneBtn) {
	
        _xylophoneBtn = [UIButton new];
        _xylophoneBtn.frame = CGRectMake(1, 7, 193, 51);
        UIImage *nostalgia = [UIImage imageNamed:@"images/icon_5.png"];
        if (nostalgia) {
	        [_xylophoneBtn setImage:nostalgia forState:UIControlStateNormal];
        }
        [_xylophoneBtn setTitle:@"button_5" forState:UIControlStateNormal];
        [_xylophoneBtn setTitle:@"button_selected_5" forState:UIControlStateSelected];
        [_xylophoneBtn setTitleColor:[UIColor colorWithRed:222/255.0 green:141/255.0 blue:31/255.0 alpha:0.7] forState:UIControlStateNormal];
        [_xylophoneBtn setTitleColor:[UIColor colorWithRed:87/255.0 green:227/255.0 blue:186/255.0 alpha:0.5] forState:UIControlStateSelected];
        [_xylophoneBtn addTarget:self action:@selector(action_5) forControlEvents:UIControlEventTouchUpInside];
	}
	return _xylophoneBtn;
}

- (void)tranquilSetupViews {

    //: 描述_0
    self.duskTextView = [[UITextView alloc] init];
    [self addSubview:self.duskTextView];
	[self.duskTextView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(74);
		make.height.mas_equalTo(87);
		make.bottom.equalTo(@(25));
	}];


    //: 描述_1
    UILabel *feastHopefulThistle = [[UILabel alloc] initWithFrame:CGRectZero];
    feastHopefulThistle.size = CGSizeMake(123, 43);
    feastHopefulThistle.left = 29;
    feastHopefulThistle.top = 5;
    feastHopefulThistle.text = @"label_1";
    feastHopefulThistle.font = [UIFont systemFontOfSize:19 weight:UIFontWeightBold];
    feastHopefulThistle.textColor = [UIColor colorWithRed:243/255.0 green:143/255.0 blue:92/255.0 alpha:0.6];
    feastHopefulThistle.textAlignment = NSTextAlignmentLeft;
    //: 不用理会的骚操作 = feastHopefulThistle.numberOfLines = 1;
    NSInteger flourishKingdom = 1;
    if (flourishKingdom>45 && flourishKingdom < 5176) {
	    flourishKingdom = 40;
    }
    feastHopefulThistle.numberOfLines = flourishKingdom;
    self.gratitudeTranquilLabel = feastHopefulThistle;
    [self addSubview:feastHopefulThistle];

	//: 描述_2
	[self addSubview:self.curiousZenithLabel];
	[self.curiousZenithLabel mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(71);
		make.height.mas_equalTo(39);
	}];


    //: 描述_3
    UIButton *spiralLiberty = [[UIButton alloc] init];
    spiralLiberty.size = CGSizeMake(147, 145);
    spiralLiberty.left = 19;
    spiralLiberty.top = 11;
    UIImage *xenophobeButterflyLuminous = [UIImage imageNamed:@"images/icon_3.png"];
    if (xenophobeButterflyLuminous) {
	    [spiralLiberty setImage:xenophobeButterflyLuminous forState:UIControlStateNormal];
    }
    [spiralLiberty setTitle:@"button_3" forState:UIControlStateNormal];
    [spiralLiberty setTitle:@"button_selected_3" forState:UIControlStateSelected];
    [spiralLiberty setTitleColor:[UIColor colorWithRed:23/255.0 green:16/255.0 blue:166/255.0 alpha:0.9] forState:UIControlStateNormal];
    [spiralLiberty setTitleColor:[UIColor colorWithRed:21/255.0 green:24/255.0 blue:138/255.0 alpha:0.7] forState:UIControlStateSelected];
    [spiralLiberty addTarget:self action:@selector(action_3) forControlEvents:UIControlEventTouchUpInside];
    self.opusButton = spiralLiberty;
    [self addSubview:spiralLiberty];


    //: 描述_4
    UITextView *zenith = [[UITextView alloc] initWithFrame:CGRectZero];
    zenith.frame = CGRectMake(11, 12, 60, 105);
    self.driftWanderTextView = zenith;
    [self addSubview:zenith];

	//: 描述_5
	[self addSubview:self.xylophoneBtn];


    //: 描述_6
    UITextField *heatwaveMagnitudeHopeful = [[UITextField alloc] initWithFrame:CGRectZero];
    heatwaveMagnitudeHopeful.frame = CGRectMake(25, 44, 120, 57);
    self.zenithFreedomMelodicTextField = heatwaveMagnitudeHopeful;
    [self addSubview:heatwaveMagnitudeHopeful];


    //: 描述_7
    self.echoCableTextField = [[UITextField alloc] init];
    self.echoCableTextField.frame = CGRectMake(12, 15, 103, 162);
    [self addSubview:self.echoCableTextField];


    //: 描述_8
    self.tangleFeastCuriousImageView = [[UIImageView alloc] init];
    self.tangleFeastCuriousImageView.contentMode = UIViewContentModeScaleAspectFill;
    self.tangleFeastCuriousImageView.clipsToBounds = YES;
    self.tangleFeastCuriousImageView.layer.cornerRadius = 2;
    self.tangleFeastCuriousImageView.layer.masksToBounds = YES;
    self.tangleFeastCuriousImageView.frame = CGRectMake(49, 41, 101, 30);
    UIImage *flutterKeenCable = [UIImage imageNamed:@"images/image_8.png"];
    if (flutterKeenCable) {
	    self.tangleFeastCuriousImageView.image = flutterKeenCable;
    }
    [self addSubview:self.tangleFeastCuriousImageView];
}


@end
